import request from 'utils/request'

// 服务商会员账号密码登录
export const serviceLogin = (params) => request.post('/service/login', params)

// 验证码登录
export const serviceSmsLogin = (params) => request.post('/service/smsLogin', params)  

// 申请退出服务商
export const providersApplyExit = (params) => request.get('/p/service/providers/applyExit', params) 

// 会员服务商佣金明细
export const providersCommissionDetail = (params) => request.get('/p/service/providers/commission/detail', params) 

// 会员服务商保证金明细
export const providersDepositDetail = (params) => request.get('/p/service/providers/deposit/detail', params) 

// 会员服务商详情
export const providersDetail = (params) => request.get('/p/service/providers/detail', params)

// 会员服务商首页
export const providersIndex = (params) => request.post('/p/service/providers/index', params)  

// 下级服务商列表
export const providersNextList = (params) => request.get('/p/service/providers/next/list', params)

// 下级服务商详情
export const providersNextDetail = (params) => request.get('/p/service/providers/next/detail', params)

// 获取下级区域
export const providersGetDistrict = (params) => request.get('/p/service/providers/getDistrict', params)